package com.disc.service;

import com.disc.baidu.BaiduUser;
import com.disc.common.DiscResponse;
import javax.servlet.http.HttpSession;

/**
 * Created by Tonight on 2017/7/18.
 */
public interface DiscService {

     DiscResponse loginBaidu(BaiduUser baiduUser, HttpSession session);

     DiscResponse getFileList(String dir,String account);

     DiscResponse getFileDownloadUrl(String fileUrl,String account);

     DiscResponse loginTianYi(BaiduUser baiduUser, HttpSession session);

     DiscResponse getTianYiFileDownloadUrl(String fileUrl,String account);

     DiscResponse getSingleTianYiFileDownloadUrl(String fileid,String account);

     DiscResponse loginHeiKe(BaiduUser baiduUser, HttpSession session);

     DiscResponse initHeiKeCookie(HttpSession session);

     byte[]  getVcodeImageStream(HttpSession session);
}
